package com.cspg.ssss.job;

import com.cspg.ssss.domain.CheckBatchInst;
import com.cspg.ssss.service.CheckBatchService;
import com.cspg.ssss.service.ProblemService;
import com.cspg.ssss.util.DateUtil;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.quartz.QuartzJobBean;

public class SyncProblemJob extends QuartzJobBean {
    private static final Logger log = LoggerFactory.getLogger(SyncProblemJob.class);

    @Autowired
    CheckBatchService checkBatchService;

    @Autowired
    ProblemService problemService;

    @Override
    protected void executeInternal(JobExecutionContext jobExecutionContext) throws JobExecutionException {
        log.info("SyncProblemJob ......++ ");

        //同步打分问题
//        problemService.SycProblemFromDyffAndDfyy_ch();

        log.info("SyncProblemJob ......end ++ ");
    }
}
